﻿using System;
using Chain.Common;
using Chain.Common.DEncrypt;

public partial class CurrentParameter
{
    public int AutoBackupDay = 1;
    public bool AutoBackupDB;
    public bool bolAccordPrint = true;
    public bool bolAutoLevel = true;
    public bool bolAutoPrint = true;
    public bool bolAutoSendMMSByMemRegister = true;
    public bool bolAutoSendSMSByCommodityConsumption = true;
    public bool bolAutoSendSMSByFastConsumption = true;
    public bool bolAutoSendSMSByMemGiftExchange = true;
    public bool bolAutoSendSMSByMemPointChange = true;
    public bool bolAutoSendSMSByMemRecharge = true;
    public bool bolAutoSendSMSByMemRedTimes = true;
    public bool bolAutoSendSMSByMemRegister = true;
    public bool bolAutoSendSMSByMemWithdraw = true;
    public bool bolAutoSendSMSByTimingConsumption = true;
    public bool bolContacticcard;
    public bool bolDegradeLevel = true;
    public bool bolGiftShare = Convert.ToBoolean(ConfigHelper.GetValue("GiftShare"));
    public bool bolIsAutoSendSMSByMemBirthday;
    public bool bolIsAutoSendSMSByMemPast;
    public bool bolIsEmail;
    public bool bolIsEmailNotice;
    public bool bolIsMemRegisterStaff;
    public bool bolIsPayBink = true;
    public bool bolIsPayCard = true;
    public bool bolIsPayCash = true;
    public bool bolIsPayCoupon = true;
    public bool bolIsSendCard;
    public bool bolIsSettlement;
    public bool bolIsSmsShopName = true;
    public bool bolIsStartMemCount;
    public bool bolIsStartTimingProject;
    public bool bolIsStartWeiXin;
    public bool bolIsStartMoney;
    public bool bolMarketingSMS = true;
    public bool bolMMS = true;
    public bool bolMoneyAndPoint = true;
    public bool bolMoneySms = true;
    public bool bolPastTime = true;
    public bool bolPwd = true;
    public bool bolSenseiccard;
    public bool bolShopPointManage;
    public bool bolShopSmsManage;
    public bool bolSms = true;
    public bool bolStaff = true;
    public bool bolStaffType = true;
    public bool bolTel = true;
    public bool bolTelNoMember = true;
    public bool bolWeiXinSMSVcode = true;
    public bool bolWeiXinType;
    public bool bolWeiXinVerified;
    public bool chkPointLevel;
    public int dataAuthority = Convert.ToInt32(DESEncrypt.Decrypt(ConfigHelper.GetValue("DataAuthority")));
    public DateTime DateValidity = Convert.ToDateTime(DESEncrypt.Decrypt(ConfigHelper.GetValue("DateValidity")));
    public decimal DrawMoneyPercent = 1M;
    public string EmailAdress = "";
    public string EmailPwd = "";
    public string EmailSMTP = "";
    public bool EnableGoods = Convert.ToBoolean(DESEncrypt.Decrypt(ConfigHelper.GetValue("EnableGoods")));
    public string EnterpriseEmailDisplayName = "";
    public bool EnterpriseEmailEnableSSL;
    public int EnterpriseEmailPort = 0x19;
    public bool EnterpriseEmailUseDefaultCredentials;
    public int intAutoSendSMSByMemBirthdayForDay;
    public int intAutoSendSMSByMemPastForDay;
    public int intMarketingSMS = int.Parse(ConfigHelper.GetValue("MarketingSMS"));
    public int intNotificationSMS = int.Parse(ConfigHelper.GetValue("NotificationSMS"));
    public int intPointPeriod;
    public int intRecommendPoint;
    public int intSignInPoint;
    public int intStockCount;
    public bool IsAutoSendSMSByStorageTiming;
    public bool IsEditPwdNeedOldPwd = true;
    public bool IsMustSlotCard;
    public bool isPointSame = true;
    public bool IsSmsSame = true;
    public int istry = Convert.ToInt32(DESEncrypt.Decrypt(ConfigHelper.GetValue("ISTry")));
    public string PartnerID = "";
    public string PartnerKey = "";
    public string PointNumStr = "";
    public int PrintPaperType;
    public int PrintPreview;
    public int ProductDecimalNum = (Convert.ToInt32(DESEncrypt.Decrypt(ConfigHelper.GetValue("ProductDN"))) % 4);
    public string RegisterNumber = ConfigHelper.GetValue("RegisterNumber");
    public bool RegNullPwd = true;
    public int RestrainOnlineNumber = Convert.ToInt32(DESEncrypt.Decrypt(ConfigHelper.GetValue("RestrainOnlineNumber")));
    public string SelfDoMain = DESEncrypt.Decrypt(ConfigHelper.GetValue("SelfDomain"));
    public string SellerAccount = "";
    public string StorageTimingPrefix = "";
    public string strDoMain = DESEncrypt.Decrypt(ConfigHelper.GetValue("SystemDomain"));
    public string strEmailUserName = "";
    public string strExpensePrefix = "";
    public string strGiftExchangePrefix = "";
    public string strGoodsAllotPrefix = "";
    public string strGoodsExpensePrefix = "";
    public string strGoodsInPrefix = "";
    public string strMarketingSmsSerialPwd = "";
    public string strMarketingSmsSeries = "";
    public string strMemCountExpensePrefix;
    public string strMemCountPrefix = "";
    public string strMemDrawMoneyPrefix = "";
    public string strMemPointChangePrefix = "";
    public string strMemRechargePrefix = "";
    public string strMMSSerialPwd = "";
    public string strMMSSeries = "";
    public string strNotificationSMS = "";
    public string strNotificationSMSPwd = "";
    public string strPrintFootNote = "";
    public string strPrintTitle = "";
    public string strSmsShopName = "";
    public string strTimeExpensePrefix = "";
    public string strUnitList = "";
    public string strMoneyList = "";
    public string strWeiXinAppID = "";
    public string strWeiXinAppSecret = "";
    public string strWeiXinEncodingAESKey = "";
    public string strWeiXinSalutatory = "";
    public string strWeiXinShopName = "";
    public string strWeiXinToken = "";
    public string strMemDrawSmallChangePrefix = "";
    public bool UsingUnion = Convert.ToBoolean(DESEncrypt.Decrypt(ConfigHelper.GetValue("UsingUnion")));
    public int IsDepositToWxRedPocket ;
    public int DepositLimitTimes ;
    public decimal DepositLimitMoney ;
}

